<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Forensie</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/forensie/">Forensie</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        Module&nbsp;Forensie
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="Forensie-module.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== MODULE DESCRIPTION ==================== -->
<h1 class="epydoc">Module Forensie</h1><p class="nomargin-top"><span class="codelink"><a href="Forensie-pysrc.html">source&nbsp;code</a></span></p>
<!-- ==================== CLASSES ==================== -->
<a name="section-Classes"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Classes</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Classes"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="Forensie.Forensie-class.html" class="summary-name">Forensie</a>
    </td>
  </tr>
</table>
<!-- ==================== FUNCTIONS ==================== -->
<a name="section-Functions"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Functions</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Functions"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Forensie-module.html#StrFlatten" class="summary-sig-name">StrFlatten</a>(<span class="summary-sig-arg">mylist</span>)</span><br />
      Takes a list of strings, mylist, and makes one string from it.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Forensie-pysrc.html#StrFlatten">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Forensie-module.html#Bin2Hex" class="summary-sig-name">Bin2Hex</a>(<span class="summary-sig-arg">numstr</span>)</span><br />
      Converts the given binary numstr (string) to a hex string.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Forensie-pysrc.html#Bin2Hex">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Forensie-module.html#Hex2Dec" class="summary-sig-name">Hex2Dec</a>(<span class="summary-sig-arg">numstr</span>,
        <span class="summary-sig-arg">endian</span>=<span class="summary-sig-default">'little'</span>)</span><br />
      Takes a hex number string and converts it to a decimal number.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Forensie-pysrc.html#Hex2Dec">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Forensie-module.html#ChopHexStr" class="summary-sig-name">ChopHexStr</a>(<span class="summary-sig-arg">hexstr</span>)</span><br />
      Takes a hex string and divides it into strings of length 2 (each 
      representing a byte) and places them in a list.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Forensie-pysrc.html#ChopHexStr">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Forensie-module.html#Hex2BinStr" class="summary-sig-name">Hex2BinStr</a>(<span class="summary-sig-arg">hexstr</span>,
        <span class="summary-sig-arg">endian</span>=<span class="summary-sig-default">'little'</span>)</span><br />
      Accepts a hex text string and translates it into a binary text 
      string.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Forensie-pysrc.html#Hex2BinStr">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
</table>
<!-- ==================== VARIABLES ==================== -->
<a name="section-Variables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Variables</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Variables"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="F_DEBUG"></a><span class="summary-name">F_DEBUG</span> = <code title="False">False</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="Forensie-module.html#HEXBIN_TRANS" class="summary-name">HEXBIN_TRANS</a> = <code title="{'0': '0000', '1': '0001', '2': '0010', '3': '0011', '4': '0100', '5':\
 '0101', '6': '0110', '7': '0111', '8': '1000', '9': '1001', 'a': '101\
0', 'b': '1011', 'c': '1100', 'd': '1101', 'e': '1110', 'f': '1111', '\
A': '1010', 'B': '1011', 'C': '1100', 'D': '1101', 'E': '1110', 'F': '\
1111'}">{'0': '0000', '1': '0001', '2': '0010', '3': '0<code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
</table>
<!-- ==================== FUNCTION DETAILS ==================== -->
<a name="section-FunctionDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Function Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-FunctionDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="StrFlatten"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">StrFlatten</span>(<span class="sig-arg">mylist</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Forensie-pysrc.html#StrFlatten">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Takes a list of strings, mylist, and makes one string from it. Returns
  the string.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="Bin2Hex"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">Bin2Hex</span>(<span class="sig-arg">numstr</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Forensie-pysrc.html#Bin2Hex">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Converts the given binary numstr (string) to a hex string. Returns the
  string.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="Hex2Dec"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">Hex2Dec</span>(<span class="sig-arg">numstr</span>,
        <span class="sig-arg">endian</span>=<span class="sig-default">'little'</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Forensie-pysrc.html#Hex2Dec">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Takes a hex number string and converts it to a decimal number. Returns
  the number.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="ChopHexStr"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">ChopHexStr</span>(<span class="sig-arg">hexstr</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Forensie-pysrc.html#ChopHexStr">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Takes a hex string and divides it into strings of length 2 (each 
  representing a byte) and places them in a list. Returns the list.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="Hex2BinStr"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">Hex2BinStr</span>(<span class="sig-arg">hexstr</span>,
        <span class="sig-arg">endian</span>=<span class="sig-default">'little'</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Forensie-pysrc.html#Hex2BinStr">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Accepts a hex text string and translates it into a binary text string.
  Returns the binary text string.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== VARIABLES DETAILS ==================== -->
<a name="section-VariablesDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Variables Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-VariablesDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="HEXBIN_TRANS"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">HEXBIN_TRANS</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
{'0': '0000', '1': '0001', '2': '0010', '3': '0011', '4': '0100', '5':<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
 '0101', '6': '0110', '7': '0111', '8': '1000', '9': '1001', 'a': '101<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
0', 'b': '1011', 'c': '1100', 'd': '1101', 'e': '1110', 'f': '1111', '<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
A': '1010', 'B': '1011', 'C': '1100', 'D': '1101', 'E': '1110', 'F': '<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
1111'}
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/forensie/">Forensie</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Tue May 04 17:43:52 2010
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
